@extends('admin.layout.basic')
@section('content')
        <!-- 面包屑 -->
@include('admin.layout.breadcrumb')
<div class="wrapper wrapper-content animated fadeInRight ecommerce">

  <div class="row">
    <div class="form-group">
      <div class="col-sm-8 col-sm-offset-2">
        <div id="com_message"  name="com_message"  class="text-danger text-center" ></div>
      </div>
    </div>
    <div class="col-lg-12">

        <div class="tab-content" id="post_content_div">

              <fieldset class="form-horizontal">

                <div class="form-group">
                  <label class="col-sm-3 control-label">{{trans("admin/message.sys_seo_warn")}}</label>
                  <div class="col-sm-8">
                    {!! trans("admin/message.sys_seo_warn_message") !!}
                  </div>
                </div>

                <div class="form-group" style="border-top: 1px solid #e7eaec;"></div>


                <div class="form-group">
                  <label class="col-sm-3 control-label">{{trans("admin/message.sys_site_seo_title")}}</label>
                  <div class="col-sm-8"><input type="text" name="site_seo_title" class="form-control"  value="{{isset($seo) && isset($seo->site_seo_title) ? $seo->site_seo_title : ''}}" >
                  </div>
                </div>

                <div class="form-group"><label class="col-sm-3 control-label">{{trans("admin/message.sys_site_seo_description")}}</label>
                  <div class="col-sm-8"><textarea   name="site_seo_description" class="form-control"  >{{isset($seo) && isset($seo->site_seo_description)  ? $seo->site_seo_description : ''}}</textarea></div>
                </div>



                <div   class="form-group"><label class="col-sm-3 control-label">{{trans("admin/message.sys_site_seo_keywords")}}</label>
                  <div class="col-sm-8"><textarea   name="site_seo_keywords" class="form-control"   >{{isset($seo) && isset($seo->site_seo_keywords) ? $seo->site_seo_keywords : ''}}</textarea></div>
                </div>

              </fieldset>
          <div class="form-group" style="border-top: 1px solid #e7eaec;"></div>

              <fieldset class="form-horizontal">

                <div class="form-group"><label class="col-sm-3 control-label">{{trans("admin/message.sys_site_projectitem_seo_title")}}</label>
                  <div class="col-sm-8">
                    <input type="text" name="site_projectitem_seo_title" class="form-control"  value="{{isset($seo) && isset($seo->site_projectitem_seo_title) ? $seo->site_projectitem_seo_title : ''}}" >

                  </div>
                </div>
                <div class="form-group"><label class="col-sm-3 control-label">{{trans("admin/message.sys_site_projectitem_seo_description")}}</label>
                  <div class="col-sm-8"><textarea   name="site_projectitem_seo_description" class="form-control"   >{{isset($seo) && isset($seo->site_projectitem_seo_description)? $seo->site_projectitem_seo_description : ''}}</textarea></div>
                </div>
                <div class="form-group"><label class="col-sm-3 control-label">{{trans("admin/message.sys_site_projectitem_seo_keywords")}}</label>
                  <div class="col-sm-8"><textarea   name="site_projectitem_seo_keywords" class="form-control"   >{{isset($seo) && isset($seo->site_projectitem_seo_keywords)? $seo->site_projectitem_seo_keywords : ''}}</textarea></div>
                </div>
              </fieldset>


      </div>

    </div>
    <div class="col-lg-12 " style="padding-bottom: 40px">
      <div class="col-lg-12   text-center">

        <button type="button" onclick="seoManger.saveMessage()" class="btn btn-w-m btn-success">{{ trans('admin/message.submit') }}</button>
      </div>

    </div>


  </div>

</div>

@endsection


